/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import chatGUI.ChatWindow;
import java.net.InetAddress;

/**
 *
 * @author doutre
 */
public class User {
    private String username;
    private InetAddress ip;
    
    
    public User (String username, InetAddress ip){
        this.username = username;
        this.ip=ip;
       
        
    }
    

    public InetAddress getIp() {
        return ip;
    }
    @Override
    public String toString(){
        return username;
    }
}
